package com.wxgo.dao;

import java.util.List;

import com.wxgo.common.model.Role;
import com.wxgo.dao.base.BaseDao;

public class RoleDao extends BaseDao {

	public Role findById(Integer id) {
		return Role.dao.findById(id);
	}

	public List<Role> find(String sql) {
		return Role.dao.find(sql);
	}

	public List<Role> findAll() {
		return find("select * from role");
	}

	public List<Role> find(String sql, Object... paras) {
		return Role.dao.find(sql, paras);
	}

}
